package tdx

import (
	"gitee.com/quant1x/data/category"
	"gitee.com/quant1x/gotdx/quotes"
)

// F10 个股基本信息
func F10(fullCode string) (*quotes.FinanceInfo, error) {
	tdxApi := prepare()
	marketId, _, code := category.DetectMarket(fullCode)
	info, err := tdxApi.GetFinanceInfo(marketId, code, 1)
	return info, err
}
